package net.lunjin.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import net.lunjin.bean.People;
import finaler.util.Page;
import finaler.util.PageList;


public interface PeopleService {

	public int getCount(int typeflag)throws Exception ;
	
	public int getCountWantPeople(BigDecimal orgId) throws Exception ;
	
	public PageList getWantPeople(Page page) throws Exception ;
	
	public List<People> getTop5WantPeople(BigDecimal orgId)throws Exception ;

	public List<People> getAllProxy(BigDecimal orgId)throws Exception ;
	
	public List<Map<String, Object>> getTop5Proxy()throws Exception ;
	
	public void insert(People people) throws Exception ;
	
	public People findPeople(BigDecimal orgId,String telipqq,String typeflag)throws Exception ;
	
	public void randomWant() throws Exception ;
	
	public void deleteLowComWant() throws Exception ;
	
    public void deleteByOrgid(BigDecimal orgId)throws Exception ;
}
